﻿<UserControl
    x:Class="ViewOnCore.Helper.WPF.QuestionDialog"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:wpf="clr-namespace:ViewOnCore.Helper.WPF"
    xmlns:properties="clr-namespace:ViewOnCore.Properties">
    <wpf:ChildWindowDecorator x:Name="childWindowDecorator">

        <Grid>

            <Grid.RowDefinitions>
                <RowDefinition Height="10" />
                <RowDefinition Height="*" />
                <RowDefinition Height="30" />
                <RowDefinition Height="5" />
            </Grid.RowDefinitions>

            <StackPanel Grid.Row="1">
                <TextBlock x:Name="lblText" Text="" VerticalAlignment="Center" FontWeight="Bold" HorizontalAlignment="Center"/>
                <TextBlock x:Name="lblText2" Text="" VerticalAlignment="Center" FontWeight="Bold" HorizontalAlignment="Center"/>
                <TextBox x:Name="txtValue"/>
                <CheckBox x:Name="chkOption" IsChecked="True" Margin="0,25,0,15" HorizontalAlignment="Center"/>
            </StackPanel>

            <Button x:Name="btnCancel" Style="{DynamicResource Button.TransparentWithEffect}" Grid.Row="2" Width="80" HorizontalAlignment="Left" Margin="110,0,0,0" VerticalAlignment="Bottom">
                <TextBlock x:Name="txtCancel" Text="{x:Static properties:Globalization.Cancel}" Margin="5,5,5,5"/>
            </Button>
            <Button x:Name="btnOk" Style="{DynamicResource Button.TransparentWithEffect}" Grid.Row="2" Width="80" HorizontalAlignment="Left" Margin="10,0,0,0" VerticalAlignment="Bottom">
                <TextBlock x:Name="txtOk" Text="{x:Static properties:Globalization.Ok}" Margin="5,5,5,5"/>
            </Button>

        </Grid>

    </wpf:ChildWindowDecorator>
</UserControl>
